/* Lac Viet ERP                                                
 * Copyright (c) 2013 Lac Viet                                 
 * http://www.lacviet.com.vn                                   
 *=============================================================
 * File name            : CF_tblForeignCurrList.cs         
 * Created by           : Auto - 04/23/2014 15:03:45                     
 * Last modify          : Auto - 04/23/2014 15:03:45                     
 * Version              : 1.0                                  
 * ============================================================
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace LineOfBusiness.Poco
{
	[Serializable]
	public partial class CF_tblForeignCurrList : BaseEntity
	{
		public CF_tblForeignCurrList()
		{
            this.Stop = false;
            this.CreatedDate = DateTime.Now;
		}

	    #region Properties

		private string _ForgCurrID;

        [Key]
		[RegularExpression(@"[a-zA-Z0-9_-]*")]
		[Required]
        [MaxLength(3)]
        public string ForgCurrID 
		{ 
			get
			{
                return _ForgCurrID;
			}
			set 
			{ 
                _ForgCurrID = value;
			} 
		}

		private string _ForgCurrName;
		[Required]
        [MaxLength(100)]
        public string ForgCurrName 
		{ 
			get
			{
                return _ForgCurrName;
			}
			set 
			{ 
                _ForgCurrName = value;
			} 
		}

		private string _TranslateName;
        [MaxLength(50)]
        public string TranslateName 
		{ 
			get
			{
                return _TranslateName;
			}
			set 
			{ 
                _TranslateName = value;
			} 
		}

		private string _PrecisionName;
        [MaxLength(50)]
        public string PrecisionName 
		{ 
			get
			{
                return _PrecisionName;
			}
			set 
			{ 
                _PrecisionName = value;
			} 
		}

		private bool _Stop;
        public bool Stop 
		{ 
			get
			{
                return _Stop;
			}
			set 
			{ 
                _Stop = value;
			} 
		}

		private DateTime _CreatedDate;
		[Required]
        public DateTime CreatedDate 
		{ 
			get
			{
                return _CreatedDate;
			}
			set 
			{ 
                _CreatedDate = value;
			} 
		}

		private string _CreatedBy;
        [MaxLength(20)]
        public string CreatedBy 
		{ 
			get
			{
                return _CreatedBy;
			}
			set 
			{ 
                _CreatedBy = value;
			} 
		}

        #endregion
	}
}
